package com.ruoyi.web.controller.common;


import com.google.common.collect.ImmutableList;

import java.util.List;
import java.util.concurrent.TimeUnit;

public interface RobotConstant {

    String ROBOT_NAME = "二狗";
    /**
     * 手动pc 移动端 艾特
      */
    String AT_EG  = "[@at,nickname=二狗,wxid=wxid_shhrqqr93hib22] ";

    String AT_EG2  = "@二狗[@emoji=\\u2005]";

    String AT_EG3  = "@二狗 ";

    String DEFAULT_MSG  = "你好";

    String NOT_MATCH_MSG  = "别别别~~，i don't kow 你想干哈？";

    String TIAN_API = "http://api.tianapi.com/";

    String TIAN_PARAM = "/index?key=";

    String TIAN_KEY = "bf777026dcb57cb8afd2b15936410c3f";

    String CALL_FAIL = "调用失败，阔能么得钱了，快快充点钱玩玩吧";

    String CALL_FAIL_PARAM = "返回数据为空，可能传递参数有误";

    String CALL_EMPTY = "调用内容为空，打死二狗！";

    String FREE_JOKER_API = "https://v2.alapi.cn/api/joke?token=LwExDtUWhF3rH5ib&num=1&page=";

    String SEND_ROBOT_URL = "http://localhost:8090";

    String SEND_TULING_URL = "http://www.tuling123.com/openapi/api";


    /**
     * https://www.ownthink.com/docs/platform/#_9
     */
    String SEND_OWNTHINK_URL = "https://api.ownthink.com/bot?appid=bcd3bdbbe95540abb18635ae67056b9a&userid=";

    String SEND_TENCENT_STOCK = "http://qt.gtimg.cn/q=";



    String ROBOT_PREFIX = "robot:";

    Integer TALK_EXPIRATION = 60;

    TimeUnit TALK_UNIT = TimeUnit.SECONDS;

    String DELAYED_QUEUE_WENDA = "delayed_queue_wenda";

    List<String> CORRECT_PREFIX = ImmutableList.of(
        "666,回答very正确。",
        "恭喜你,回答正确。",
        "bingo,回答正确。",
        "被你发现了,回答非常正确。",
        "真不错,回答很正确。"
    );

    List<String> DEFAULT_MUSCI = ImmutableList.of(
        "女人是老虎"
    );

    List<String> A_ZHI_SHU = ImmutableList.of(
        "sh000001",
        "sz399001",
        "sz399006"
    );
}
